<?php
use common\components\extenders\MenuManage;
use yii\helpers\Html;
?>
<div class="yx-praise-list-box yx-praise-box yx-radius2 zx-min-height">
    <!--/*添加按钮*/-->
    <?= $this->renderFile('@app/views/layouts/toolbar.php'); ?>
    <div class="docs-main zx-mg">
            <table id="tablesaw" class="tablesaw table yx-table1 yx-table3 table-striped with-check" data-tablesaw-mode="swipe" data-tablesaw-minimap>
                <thead>
                    <tr class="yx-bgd2f6ec">
                        <th>规则名称</th>
                        <th>规则类</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                <?php foreach ($data as $v) {?>
                    <tr>
                        <td align='center'><?= Html::encode($v['name']) ?></td>
                        <td align='center'><?= Html::encode($v['className'])?></td>
                        <td align='center'><?= $v['operate'] ?></td>
                    </tr>
                <?php } ?>
                </tbody>
            </table>

        </div>
